package com.kim.smartring.db.model;

import java.io.Serializable;

public class StepRecord implements Serializable {

	private int _id;
	private String sid; // 记步数据记录唯一标识
	private int sCount; // 步数
	private float sDistance; // 距离
	private int sCalories; // 消耗卡路里
	private long sTimeStart; // 记步开始时间
	private long sTimeEnd; // 记步结束时间
	private long synchronousTime; // 记步数据所属日期
	private int sSyncState; // 记步数据同步状态（0：未同步；1：同步成功）

	private String yearMonth; // 记录年月 格式：yyyy-mm
	private String day; // 记录日期 格式dd

	public int get_id() {
		return _id;
	}

	public void set_id(int _id) {
		this._id = _id;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public int getsCount() {
		return sCount;
	}

	public void setsCount(int sCount) {
		this.sCount = sCount;
	}

	public float getsDistance() {
		return sDistance;
	}

	public void setsDistance(float sDistance) {
		this.sDistance = sDistance;
	}

	public int getsCalories() {
		return sCalories;
	}

	public void setsCalories(int sCalories) {
		this.sCalories = sCalories;
	}

	public long getsTimeStart() {
		return sTimeStart;
	}

	public void setsTimeStart(long sTimeStart) {
		this.sTimeStart = sTimeStart;
	}

	public long getsTimeEnd() {
		return sTimeEnd;
	}

	public void setsTimeEnd(long sTimeEnd) {
		this.sTimeEnd = sTimeEnd;
	}

	public int getsSyncState() {
		return sSyncState;
	}

	public void setsSyncState(int sSyncState) {
		this.sSyncState = sSyncState;
	}

	public String getYearMonth() {
		return yearMonth;
	}

	public void setYearMonth(String yearMonth) {
		this.yearMonth = yearMonth;
	}

	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}

	public long getSynchronousTime() {
		return synchronousTime;
	}

	public void setSynchronousTime(long synchronousTime) {
		this.synchronousTime = synchronousTime;
	}

	@Override
	public String toString() {
		return "StepRecord [_id=" + _id + ", sid=" + sid + ", sCount=" + sCount
				+ ", sDistance=" + sDistance + ", sCalories=" + sCalories
				+ ", sTimeStart=" + sTimeStart + ", sTimeEnd=" + sTimeEnd
				+ ", synchronousTime=" + synchronousTime + ", sSyncState="
				+ sSyncState + ", yearMonth=" + yearMonth + ", day=" + day
				+ "]";
	}

}
